package org.jplearning.io;

import java.util.Date;
import java.util.List;

public class Dictionary {
	private String title;
	private String description;
	private String created_by;
	private Date creation_date;
	private String modified_by;
	private Date modification_date;
	
	private List<String> tags;
	private List<WordEntry> entries;

	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getCreated_by() {
		return created_by;
	}
	public void setCreated_by(String created_by) {
		this.created_by = created_by;
	}
	public Date getCreation_date() {
		return creation_date;
	}
	public void setCreation_date(Date creation_date) {
		this.creation_date = creation_date;
	}
	public String getModified_by() {
		return modified_by;
	}
	public void setModified_by(String modified_by) {
		this.modified_by = modified_by;
	}
	public Date getModification_date() {
		return modification_date;
	}
	public void setModification_date(Date modification_date) {
		this.modification_date = modification_date;
	}
	public List<String> getTags() {
		return tags;
	}
	public void addTags(String tag) {
		this.tags.add(tag);
	}
	
	public List<WordEntry> getEntries() {
		return entries;
	}
	public void addEntries(WordEntry entry) {
		this.entries.add(entry);
	}
	public void setTags(List<String> curTags) {
		this.tags = curTags;
	}
}
